@mixin center() {
  display: flex;
  justify-content: center;
  /* 水平居中 */
  align-items: center;
  /* 垂直居中 */
}

@mixin justify() {
  display: -webkit-flex;
  /* Safari */
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
}

@mixin point() {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}

@mixin backimg() {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background-position: top !important;
  background-repeat: no-repeat !important;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  zoom: 1;
}
.container {
  padding: 160rpx 50rpx;
  position: relative;

  .main-title {
    font-size: 48rpx;
    font-family: PingFang SC;
    font-weight: bold;
    color: rgba(51, 51, 51, 1);
  }

  .small-title {
    position: absolute;
    top: 260rpx;
    font-size: 26rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(153, 153, 153, 1);
  }

  .tel {
    margin-top: 120rpx;
    padding-bottom: 19rpx;
    border-bottom: 2rpx solid #eee;
    position: relative;

    input {
      font-size: 40rpx;
      font-family: PingFang SC;
      font-weight: bold;
      color: rgba(102, 102, 102, 1);
    }
    .uni-input {
      outline: none;
    }

    .more-style {
      padding-left: 34rpx;
    }

    .dele-icon {
      width: 34rpx;
      height: 34rpx;
      position: absolute;
      right: 0;
      top: 10rpx;
    }

    .front-icon {
      position: absolute;
      left: 0;
      top: 10rpx;
    }

    .arrow-up {
      transform: rotate(180deg);
      color: #fbb000;
    }

    .arrow-down {
      color: #999;
    }

    .history-list {
      height: 400rpx;
      overflow-y: scroll;
      position: absolute;
      top: 80rpx;
      background-color: #fff;
      color: #9a9a9a;
      font-size: 40rpx;
      font-weight: 500;
      width: 656rpx;
      padding-left: 34rpx;
      z-index: 999;

      .history-item {
        padding: 30rpx 0 20rpx;
      }
    }
  }

  .tips {
    margin-top: 15rpx;
    font-size: 22rpx;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(153, 153, 153, 1);
  }

  .read-agree {
    overflow: hidden;
    display: flex;
    align-items: center;

    .icon-box {
      @include center;
      margin-right: 22rpx;
      width: 30rpx;
    }

    .main {
      padding: 80rpx 0;
      font-size: 22rpx;
      font-weight: 500;
      color: #666666;

      .yellow {
        color: #fbb000;
      }
    }
  }

  .passwordLogin {
    width: 250rpx;
    height: 88rpx;
    margin: 54rpx auto 0;
    line-height: 88rpx;
    text-align: center;
    font-size: 32rpx;
    font-weight: bold;
    color: #fbb000;
  }

  .uni-popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.3);
    padding: 212rpx 75rpx;

    .main {
      background-color: #fff;
      border: #f00;
      border-radius: 20rpx;

      .popup-footer {
        display: flex;
        align-items: center;
        border-top: 1rpx solid #eee;

        .disagreeBtn {
          color: #666;
          background-color: #fff;
          flex: 50%;
          border-radius: 0 !important;
        }

        .agreeBtn {
          flex: 50%;
          color: #fbb000;
          background-color: #fff;
          border-radius: 0 !important;
          border-left: 1rpx solid #eee;
        }
      }
    }
  }
}
/deep/ uni-button:after {
  border: none;
}
